from django.conf.urls.defaults import patterns, include, url

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'mm.views.home', name='home'),
    # url(r'^mm/', include('mm.foo.urls')),
    url(r'^$', 'mm.dashboard.views.dashboard'),
    url(r'^dashboard/', 'mm.dashboard.views.dashboard'),
    url(r'^services/detail/$', 'mm.dashboard.views.service_detail'),
    url(r'^machines/detail/$', 'mm.dashboard.views.host_detail'),
    url(r'^postrequest/$', 'mm.dashboard.views.postrequest'),
    url(r'^accounts/login/$', 'mm.dashboard.views.login'),
    url(r'^logout/$', 'mm.dashboard.views.logout_view'),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
)
